widget: Re-shuffle preconditions in snapshot_child()
authorTimm Bäder <mail@baedert.org>
Sat, 6 Jun 2020 10:22:46 +0000 (12:22 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 19 Jun 2020 03:26:24 +0000 (05:26 +0200)
commit203bb42cc1e2e2034b4d46dbcccd10fbf4f15cad
tree29526352400004eea7945674ebb3ac87f4c1af0d
parent461497e8d41db09dc3ea209bad1bee6ae8ca1970
widget: Re-shuffle preconditions in snapshot_child()

The GtkNative type check is more expensive than the mapped one, so avoid
the former for unmapped widgets
gtk/gtkwidget.c